package org.mm.xml.entities;

import java.util.Date;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

/**
 * MeasurementXML
 *
 * @author Marco Traversari
 * @version $Revision: $ $Date: $ $Author: $
 */
@XmlType(propOrder={"description", "data", "creationDate"})
public class MeasurementXML {

	private Long id = null;

	private Long sensorId = null;

	private Long patientId = null;

	private String description = null;

	private String data = null;

	private Date creationDate = null;

	/**
	 * getId
	 * @return id
	 */
	@XmlAttribute
	public Long getId() {
		return id;
	}

	/**
	 * setId
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * getDescription
	 * @return description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * setDescription
	 * @param description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * getSensorId
	 * @return sensorId
	 */
	@XmlAttribute
	public Long getSensorId() {
		return sensorId;
	}

	/**
	 * setSensorId
	 * @param sensorId
	 */
	public void setSensorId(Long sensorId) {
		this.sensorId = sensorId;
	}

	/**
	 * getPatientId
	 * @return patientId
	 */
	@XmlAttribute
	public Long getPatientId() {
		return patientId;
	}

	/**
	 * setPatientId
	 * @param patientId
	 */
	public void setPatientId(Long patientId) {
		this.patientId = patientId;
	}

	/**
	 * getValue
	 * @return value
	 */
	public String getData() {
		return data;
	}

	/**
	 * setValue
	 * @param value
	 */
	public void setData(String value) {
		this.data = value;
	}

	/**
	 * getCreationDate
	 * @return creationDate
	 */
	public Date getCreationDate() {
		return creationDate;
	}

	/**
	 * setCreationDate
	 * @param creationDate
	 */
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

}
